home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
paws19.zip
/
PAWSDEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-12-20
|
8KB
|
234 lines
echo off
cls
echo.
echo ╔═══════════════════════════╗
echo ║ PAWS ║
echo ║ version 1.9 ║
echo ╚═══════════════════════════╝
echo Demonstration Batch file
if not exist paws.exe goto no_paws
echo.
echo.
echo.
echo.
echo Why just use this:
pause
echo.
echo.
echo.
echo When you can have this:
echo.
echo.
echo.
echo.
paws /W10 /c13 /b15
cls
paws Good $N, welcome to PAWS!/W30 /C30 /B30 /T20
cls
echo ╔══════════════════════════════════════════════════════╗
echo ║ This batch file will demonstrate several modes ║
echo ║ of PAWS. Of course, to show all the ways PAWS can ║
echo ║ be used would take hours, for PAWS is only limited ║
echo ║ by your imagination. ║
echo ╚══════════════════════════════════════════════════════╝
echo.
echo.
paws /W15
cls
echo ╔═════════════════════════════════════╗
echo ║ PAWS has 2 basic display modes ║
echo ╚═════════════════════════════════════╝
echo.
echo.
echo.
echo.
paws On a line all by itself...Press any key for the other mode
paws or in a WINDOW!...Press any key to continue /W15
cls
echo ╔═══════════════════════════════════════╗
echo ║ PAWS also will make noise ║
echo ║ NOTE: Let the cycle run through once ║
echo ║ before pressing a key ║
echo ╚═══════════════════════════════════════╝
echo.
paws I Can use any tone you want /s1000
echo.
paws Here is a lower one /s100
echo.
echo.
paws Here is middle "C" /s524 /W11
cls
echo ╔══════════════════════════════╗
echo ║ PAWS can also be in color ║
echo ║ 256 colors are available ║
echo ╚══════════════════════════════╝
echo.
paws Press any key to see my color chart! /s2000
paws /c?
echo.
paws Press any to for more! /W78 /c79 /b77
:less
cls
echo ╔════════════════════════════════════╗
echo ║ If you don't want your batch files ║
echo ║ to wait forever, ║
echo ║ You can set PAWS to TIMEOUT ║
echo ║ don't press any key, ║
echo ║ wait 10 seconds for PAWS to TimeOut║
echo ╚════════════════════════════════════╝
echo.
echo.
paws Wait for me to Timeout /T10
if errorlevel 1 goto more
goto less
:more
paws /w144
cls
echo ╔══════════════════════════════════════════════════════╗
echo ║ PAWS can be used in a batch file menu system ║
echo ╚══════════════════════════════════════════════════════╝
:menu
echo.
echo.
echo.
echo A...Word Processing
echo B...Spread Sheet
echo C...Games
echo D...Quit
echo.
:again
paws Enter Your Choice /Kabcd
if errorlevel 68 goto quit
if errorlevel 67 goto games
if errorlevel 66 goto spread
if errorlevel 65 goto word
goto again
:word
cls
echo You are in the Word Processing Section
echo.
paws
cls
goto menu
:spread
cls
echo You are in the Spread Sheet Section
echo.
paws
cls
goto menu
:games
cls
echo You are in the games section
echo.
paws
cls
goto menu
:quit
echo.
echo.
echo.
paws /W13
cls
echo ╔═══════════════════════════════════════════════════╗
echo ║ PAWS can also be the center of attraction ║
echo ╚═══════════════════════════════════════════════════╝
echo.
echo.
paws Press any key to see me in the middle
paws /X0 /W40 /c14
cls
echo ╔═══════════════════════════════════════════════════════════╗
echo ║ PAWS can be told to remember what the screen looked like ║
echo ╚═══════════════════════════════════════════════════════════╝
echo.
dir /w
echo.
paws
paws /X1 /W15 /C13
echo.
echo ╔═══════════════════════════════════════════════╗
echo ║ See, Just as you left it ║
echo ╚═══════════════════════════════════════════════╝
echo.
echo.
echo.
paws
cls
echo ╔═══════════════════════════════════════════╗
echo ║ PAWS can also handle very long lines. ║
echo ║ PAWS will only display 68 characters on ║
echo ║ the screen at any one time. With strings║
echo ║ longer than 68 characters, the whole ║
echo ║ message will not be displayed at once, ║
echo ║ but it will all be displayed. ║
echo ╚═══════════════════════════════════════════╝
echo.
echo.
echo.
echo.
paws Now is the time for all good computers to demonstrate PAWS to the best of their circuit's ability /W10 /C14
cls
echo ╔═══════════════════════════════════════════╗
echo ║ PAWS Can also tell the time, date, DOS ║
echo ║ version, current drive, current path, ║
echo ║ the day and the contents of any ║
echo ║ environment variable. ║
echo ╚═══════════════════════════════════════════╝
echo.
echo.
echo.
paws The Time is $T...Press any key /W46 /C10 /B10
paws Your DOS version is $v /W31 /C31 /B31
paws It is the $y day of the year /W46 /C11 /B11
paws It is now $U /W30 /C31 /B31
paws Another way of looking at it is $V$f /W30 /C31 /B31
paws Today is $V$W or $V$W/W95 /C94 /B94
paws The current Directory is $p /W75 /C75 /B75
paws The current drive is $n: /W10 /C15
REM You must use $%%env%% in a batch file, $%env% on the command line
paws Your PATH is $%%path%% /W11 /C14
cls
echo ╔════════════════════════════════════════════════════╗
echo ║ You can stack many system variables in one prompt ║
echo ╚════════════════════════════════════════════════════╝
echo.
echo.
echo.
echo.
paws The current drive is $n:, The current directory is $p, Your path is $%%path%% /W14 /C10
cls
echo ╔══════════════════════════════════════════════════╗
echo ║ Would You like to view the PAWS Documentation? ║
echo ╚══════════════════════════════════════════════════╝
echo.
echo.
echo.
paws Please press Y or N /W11 /C14 /Kyn
if errorlevel 89 goto read_doc
goto no_doc
:read_doc
if exist pawsdoc.com paws /?
:no_doc
cls
echo ╔═══════════════════════════════════════════╗
echo ║ This concludes the PAWS batch file Demo ║
echo ╚═══════════════════════════════════════════╝
echo.
echo.
echo.
paws /c13
paws /v
goto end
:no_paws
echo.
echo.
echo.
echo ╔═══════════════════════════════════════════╗
echo ║ This demonstration requires PAWS.EXE ║
echo ║ to be in the current directory ║
echo ║ Please correct and retry ║
echo ╚═══════════════════════════════════════════╝
:end